Session-Expires

An example of the header is shown below:

Session-Expires: 480

The header properties are shown in the following table:

Header Level Action

Add

Delete

Modify

List Entries

Operations Supported

Yes

Yes

Yes

N/A

Keyword

Sub Types

Attributes

Param

Param

Read/Write

Refresher

Enum Refresher (see Refresher)

Read/Write

Time

Integer

Read/Write

Below are header manipulation examples:

Example 1

Rule:

Add a Session-Expires header:

MessageManipulations 0 = 1, any, , header.Session-Expires, 0, '48' + '0', 0;

Result:

Session-Expires: 480

Example 2

Rule:

Modify the Session-Expires header to 300:

MessageManipulations 1 = 1, any, , header.Session-Expires.time, 2, '300', 0;

Result:

Session-Expires: 300

Example 3

Rule:

Add a param called longtimer to the header:

MessageManipulations 1 = 1, any, , header.Session-Expires.param.longtimer, 0, '5', 0;

Result:

Session-Expires: 480;longtimer=5

Example 4

Rule:

Set the refresher to 1 (UAC):

MessageManipulations 3 = 1, any, , header.session-expires.refresher, 2, '1', 0;

Result:

Session-Expires: 300;refresher=uac;longtimer=5